package com.atguigu.cloud.entities;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class PayDTO implements Serializable {

    @Schema(title = "支付交易实体id")
    private Integer id;
    /**
     * 支付流水号
     */
    @Schema(title = "支付交易实体pay_no")
    private String payNo;
    /**
     * 订单流水号
     */
    @Schema(title = "支付交易实体order_no")
    private String orderNo;
    /**
     * 用户账户ID
     */
    @Schema(title = "支付交易实体user_id")
    private Integer userId;
    /**
     * 交易金额
     */
    @Schema(title = "支付交易实体金额")
    private BigDecimal amount;
}
